<template>
	<div class="app">
		<h2>我是App组件</h2>
		<Person a="哈哈" :ming="name" :nl="age" :sex="gender"/>
	</div>
</template>

<script>
	import Person from './components/Person.vue'

	export default {
		name:'App',
		components:{Person},
		data() {
			return {
				name:'张三',
				age:18,
				gender:'男'
			}
		},
	}
</script>

<style>
	.app{
		background-color: gray;
		padding: 20px;
	}
</style>